import { Form, Input } from 'antd';
import { useState } from 'react';

const Test = () => {
	const [form111] = Form.useForm();
	const [form222] = Form.useForm();

	return (
		<>
			<Form form={form111} initialValues={{ name: 'abc' }}>
				<Form.Item label="姓名" name="name">
					<Input />
				</Form.Item>
			</Form>
			<Form form={form222} initialValues={{ name: 'abc' }}>
				<Form.Item label="姓名" name="name">
					<Input />
				</Form.Item>
			</Form>
		</>
	);
};

export default Test;
